<template>
	<i-switch type="primary" @click="disabled = !disabled">{{disabled}}</i-switch>
</template>

<script>
	export default {
        data () {
            return {
                disabled: true
            }  
        },
        methods: {
            change (status) {
                this.$Message.info('开关状态：' + status);
            }
        }
    }
</script>
	
<style>
</style>